package ceshi;

import java.util.Scanner;

public class afa {
    public static void main(String[] args) {
        int max=10000001;
        Scanner res=new Scanner(System.in);
        int num=res.nextInt();
        if(max%num==0){
            System.out.println("yes");
        }
        else
        {
            int arr=max/num;
            System.out.println(arr);
            System.out.println(max-arr*(num-1));
        }
    }
}
